package org.simp.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ java.lang.annotation.ElementType.METHOD })
public @interface SimpRequestMapping {
	
	/**
	 * 注解主协议号,默认值-1，与SimpController的mainId
	 *不能同时为空
	 * @return
	 */
	public  short mainId() default -1;
	
	/**
	 * 注解子协议号
	 * @return
	 */
	public short moudleId();

}
